home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / NewsTicker.sit / NewsTicker / source code / InternetAccessProperties.cpp next >
Text File  |  1997-06-18  |  2KB  |  51 lines

  1. /*
  2.     File:        InternetAccessProperties.cpp
  3.  
  4.     Contains:    <contents>
  5.  
  6.     Written by:    Frederic Artru
  7.  
  8.         Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.      You may incorporate this sample code into your applications without
  11.     restriction, though the sample code has been provided "AS IS" and the
  12.     responsibility for its operation is 100% yours.  However, what you are
  13.     not permitted to do is to redistribute the source as "DSC Sample Code"
  14.     after having made changes. If you're going to re-distribute the source,
  15.     we require that you make it clear in the source that the code was
  16.     descended from Apple Sample Code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.  
  20.         <0+>     2/26/97    FA      first checked in
  21. */
  22.  
  23.  
  24. #ifndef _INTERNETACCESSPROPERTIES_
  25. #define _INTERNETACCESSPROPERTIES_
  26.  
  27. // universal properties
  28. extern const char* kURLURL                            = "URLString";
  29. extern const char* kURLResourceSize                    = "URLResourceSize";
  30. extern const char* kURLLastModifiedTime                = "URLLastModifiedTime";
  31. extern const char* kURLMIMEType                        = "URLMIMEType";
  32. extern const char* kURLFileType                        = "URLFileType";
  33. extern const char* kURLFileCreator                    = "URLFileCreator";
  34. extern const char* kURLCharacterSet                    = "URLCharacterSet";
  35. extern const char* kURLResourceName                    = "URLResourceName";
  36. extern const char* kURLHost                            = "URLHost";
  37. extern const char* kURLAuthType                        = "URLAuthType";
  38. extern const char* kURLUserName                        = "URLuserName";
  39. extern const char* kURLPassword                        = "URLPassword";
  40. extern const char* kURLStatusString                    = "URLStatusString";
  41. extern const char* kURLIsSecure                        = "URLIsSecure";
  42. extern const char* kURLCertificate                    = "URLCertificate";
  43.  
  44. // http and https properties
  45. extern const char* kURLHTTPRequestMethod            = "URLHTTPRequestMethod";
  46. extern const char* kURLHTTPRequestHeader            = "URLHTTPRequestHeader";
  47. extern const char* kURLHTTPRequestBody                = "URLHTTPRequestBody";
  48. extern const char* kURLHTTPRespHeader                = "URLHTTPRespHeader";
  49.  
  50. #endif /* _INTERNETACCESSPROPERTIES_ */
  51.